import request from '@/utils/request'
// 水机


//获取水机列表
export function getCheckCategoryList(params) {
    return request({
        url: '/property/check/category',
        method: 'get',
        params
    })
}

//获取社区详情
export function getCheckCategoryDetail(params) {
    return request({
        url: '/property/check/category/detail',
        method: 'get',
        params
    })
}
export function getCheckCategorySelectList(params) {
    return request({
        url: '/property/check/category/alllist',
        method: 'get',
        params
    })
}
export function getCheckCategoryItemSelectList(params) {
    return request({
        url: '/property/check/category/allItemList',
        method: 'get',
        params
    })
}
//添加
export function createCheckCategory(data) {
    return request({
        url: '/property/check/category/create',
        method: 'post',
        data
    })
}

//修改
export function updateCheckCategory(data) {
    return request({
        url: '/property/check/category/update',
        method: 'put',
        data
    })
}


//修改
export function changeCheckCategoryFiledStatus(data) {
    return request({
        url: '/property/check/category/changeFiledStatus',
        method: 'put',
        data
    })
}


//删除
export function delCheckCategory(data) {
    return request({
        url: '/property/check/category/delete',
        method: 'delete',
        data
    })
}


